﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="BomData.aspx.cs" Inherits="FileConverter.Bas.BomData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 子板名称：<asp:TextBox ID="tb_OutPrdName" runat="server" />
     &nbsp;&nbsp;&nbsp;&nbsp; 拼板数：<asp:TextBox ID="tb_PanelCnt" runat="server"></asp:TextBox> 
    <asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click"  />
    <asp:Button ID="bt_Save" runat="server" Text="保存" OnClick="bt_Save_Click"/>
    <br/>
    <div runat="server" >
        <asp:FileUpload ID="FileUpload1" runat="server" />
        <asp:Button ID="bt_Improt" runat="server" Text="导入" OnClick="bt_Improt_Click"/><br/>
    </div>
    <asp:Label ID="lblInfo" runat="server" Text="信息提示" Font-Size="Large" ForeColor="#FF0066"></asp:Label>
    <div style="margin-left:auto;margin-right:auto">
        <asp:GridView ID="GV_BomData" runat="server" AutoGenerateColumns="False" CellPadding="4" 
            ForeColor="#333333" GridLines="None" PageSize ="15" AllowPaging="true" OnPageIndexChanging="GV_BomData_PageIndexChanging">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
             <asp:BoundField DataField="OutPrdName" HeaderText="子板名称" ReadOnly="true" />
             <asp:BoundField DataField="PanelCnt" HeaderText="拼板数" ReadOnly="true" />
             </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </div>
</asp:Content>
